package com.mike.billingserver.form;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author xiaozefeng
 * @date 2018-12-18 16:24
 */
@Data
public class UserForm {

    private String id;

    @NotEmpty(message = "用户名不能为空")
    private String username;

    @NotEmpty(message = "密码不能为空")
    private String password;

}
